<?php defined('IN_PHPCMS') or exit('Access Denied'); ?><?php include template('phpcms','header'); ?>
<!--begin main-->
<div id="main">
  <div id="main_l" class="bdr_1">
    <!--位置导航-->
    <div id="position"><a href="">首页</a>专题</div>
    <?php if(is_array($TYPE)) foreach($TYPE AS $typeid => $type) { ?>
    <div class="cat">
      <div class="cat_title"><a href="<?php echo $M['url'];?><?php echo $type['url'];?>"><img src="images/more.gif" alt="更多" /></a>
        <h3><?php echo $type['name'];?></h3>
      </div>
      <div class="cat_left mar_5"><?php echo tag('special', 'tag_special_elite', "SELECT * FROM `zzinfo_special` WHERE  `typeid`='$typeid' AND `elite`='1'  ORDER BY specialid DESC", 0, 10, array (  'class' => 'url',  'target' => '_blank',  'width' => '206',  'height' => '110',  'titlelen' => '35',));?></div>
      <div class="cat_right">
        <ul class="text_list">
          <?php echo tag('special', 'tag_special_list', "SELECT * FROM `zzinfo_special` WHERE  `typeid`='$typeid'  ORDER BY listorder DESC,specialid DESC", 0, 10, array (  'class' => 'url',  'target' => '_blank',  'height' => '110',  'width' => '206',  'titlelen' => '45',));?>
        </ul>
      </div>
    </div>
    <?php } ?></div>
  <div id="main_r">
    <!--广告位-->
    <div class="ad_side">
      <script language="javascript" src="data/js.php?id=5"></script>
    </div>
    <h4>推荐专题</h4>
    <div>
      <ul class="pic_list">
        <?php echo tag('special', 'tag_special_pos', "SELECT * FROM `zzinfo_special` WHERE  `typeid`='$typeid'  ORDER BY listorder DESC,specialid DESC", 0, 12, array (  'class' => 'url',  'target' => '_blank',  'height' => '62',  'width' => '87',  'titlelen' => '15',));?>
      </ul>
    </div>

    
  </div>
</div>
<!--end main-->
<?php include template('phpcms','footer'); ?>